package com.example.day9.Presener;

import com.example.day9.Model.Bean;
import com.example.day9.Model.NetModel;
import com.example.day9.Model.ResultCallBack;
import com.example.day9.View.NetView;

public class NetPresener {
    public void initData(final NetView netView) {
        NetModel netModel = new NetModel();

        netModel.initData(new ResultCallBack() {
            @Override
            public void getData(Bean bean) {
                netView.getData(bean);
            }
        });


    }
}
